package com.hl.card.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author huangpu
 * @since 2018-06-25
 */
public class Shortcuts extends Model<Shortcuts> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 产品类型
     */
	private String goods_code;
	/**
	 * 功能标题
	 */
	private String functional_title;
    /**
     * 图片
     */
	private String shortcuts_img;
    /**
     * 地址
     */
	private String shortcuts_url;
    /**
     * 最后更新时间
     */
	private Date last_update_time;
    /**
     * 创建时间
     */
	private Date create_time;
	/**
	 * 是否有限制条件
	 */
	private Integer isCondition;
	/**
	 * 限制用户注册开始时间
	 */
	private Date register_start_time;
	/**
	 *限制用户注册结束时间
	 */
	private Date register_end_time;

	/**
	 *名称
	 */
	private String goods_name;
	/**
	 *是否有条件
	 */
	private String conditional;
	/**
	 * 有效开始时间
	 */
	private Date start_time;
	/**
	 *有效结束时间
	 */
	private Date end_time;
	/**
	 *互斥产品代码
	 */
	private String mutex__code;

	/**
	 *置顶时间
	 */
	private Date stick_time;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGoods_code() {
		return goods_code;
	}

	public void setGoods_code(String goods_code) {
		this.goods_code = goods_code;
	}

	public String getFunctional_title() {
		return functional_title;
	}

	public void setFunctional_title(String functional_title) {
		this.functional_title = functional_title;
	}

	public String getShortcuts_img() {
		return shortcuts_img;
	}

	public void setShortcuts_img(String shortcuts_img) {
		this.shortcuts_img = shortcuts_img;
	}

	public String getShortcuts_url() {
		return shortcuts_url;
	}

	public void setShortcuts_url(String shortcuts_url) {
		this.shortcuts_url = shortcuts_url;
	}

	public Date getLast_update_time() {
		return last_update_time;
	}

	public void setLast_update_time(Date last_update_time) {
		this.last_update_time = last_update_time;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Integer getIsCondition() {
		return isCondition;
	}

	public void setIsCondition(Integer isCondition) {
		this.isCondition = isCondition;
	}

	public Date getRegister_start_time() {
		return register_start_time;
	}

	public void setRegister_start_time(Date register_start_time) {
		this.register_start_time = register_start_time;
	}

	public Date getRegister_end_time() {
		return register_end_time;
	}

	public void setRegister_end_time(Date register_end_time) {
		this.register_end_time = register_end_time;
	}

	public String getGoods_name() {
		return goods_name;
	}

	public void setGoods_name(String goods_name) {
		this.goods_name = goods_name;
	}

	public String getConditional() {
		return conditional;
	}

	public void setConditional(String conditional) {
		this.conditional = conditional;
	}

	public Date getStart_time() {
		return start_time;
	}

	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}

	public Date getEnd_time() {
		return end_time;
	}

	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}

	public String getMutex__code() {
		return mutex__code;
	}

	public void setMutex__code(String mutex__code) {
		this.mutex__code = mutex__code;
	}

	public Date getStick_time() {
		return stick_time;
	}

	public void setStick_time(Date stick_time) {
		this.stick_time = stick_time;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Shortcuts{" +
			"id=" + id +
			", goods_code=" + goods_code +
			", shortcuts_img=" + shortcuts_img +
			", shortcuts_url=" + shortcuts_url +
			", last_update_time=" + last_update_time +
			", create_time=" + create_time +
			"}";
	}
}
